package com.magnificent.atlantis.client.event;

/**
 * User: Babanin
 * Date: 15.02.2009
 * Time: 20:44:06
 */
public enum EventType {
    NEW_CONFIGURATION,
    EDIT_CONFIGURATION,
    DELETE_CONFIGURATION,
    SYNCHRONIZE_CONFIGURATION,

    NEW_ALERT,
    EDIT_ALERT,
    DELETE_ALERT,

    NEW_TASK,
    NEW_COMMUNITY_TASK,
    DELETE_TASK,
    DELETE_COMMUNITY_TASK,
    CHANGE_TASK_TIME,
    TASK_UPDATED,
    REFRESH_TASK_PANEL,
    TASK_SCHEDULED,

    NEW_MESSAGE,
    MESSAGE_READ,
    MESSAGE_UPDATED,
    NEW_MESSAGE_SENT,
    NEW_MESSAGE_OUTBOX,
    CHANGE_MESSAGE_TYPE,

    NEW_TIME_MINUTE;

    public boolean isSameEvent(EventType eventType) {
        return this == eventType;
    }
}
